<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册2</title>
</head>
<body>
    <form action="{% url 'myapp:personform' %}" method="post" novalidate autocomplete="off">
        {% csrf_token %}

        <div class="fieldWrapper">
            {{ form.name.errors }}
            <label for="{{ form.name.id_for_label }}">姓名:</label>
            {{ form.name }}
        </div>
        <div class="fieldWrapper">
            {{ form.age.errors }}
            <label for="{{ form.age.id_for_label }}">年龄:</label>
            {{ form.age }}
        </div>
        <div class="fieldWrapper">
            {{ form.create_time.errors }}
            <label for="{{ form.create_time.id_for_label }}">创建时间:</label>
            {{ form.create_time }}
        </div>



        <div>
            <input type="submit" class="btn btn-success" value="注册">
        </div>
    </form>
</body>
</html>